﻿@model WmWebSystem.Models.ChildProject

@{
    ViewBag.Title = "项目附件详细";
    Layout = "~/Views/Shared/_Layout_manage.cshtml";
}

<div class="contentcontainer">
    <div class="headings alt">
        <h2>项目附件详细</h2>
    </div>
    <div class="contentbox">
        <table>
               <tbody>
                  <tr>
                    <th>项目编号</th>
                    <td>
                        @Html.DisplayFor(model => model.ProjectNo)
                    </td>
                  </tr>
                  <tr>
                    <th>附件名称</th>
                    <td>
                        @(new MvcHtmlString(Model.ChildName))
                    </td>
                  </tr>
                  <tr>
                    <th>附件简介</th>
                    <td>
                        @(new MvcHtmlString(Model.Content))
                    </td>
                  </tr>
                  <tr>
                    <th>添加时间</th>
                    <td>
                        @Html.DisplayFor(model => model.AddTime)
                    </td>
                  </tr>
                  <tr>
                    <th>附件</th>
                    <td>
                       <a href="@Url.Content(Model.UrlPath)">@Html.DisplayFor(model => model.FileOldName)</a>
                    </td>
                  </tr>
                  <tr>
                    <th></th>
                    <td>
                        <input type="button" title="取消" value="<< 返回" id="GoBackList" onclick="history.go(-1)" />
                        <a href="@Url.Action("Edit", "Item", new { id=Model.ChildProjectId})" class="btn">编辑</a>
                    </td>
                  </tr>
               </tbody>
            </table>
    </div>
</div>